package com.sh.business.domain;

import jakarta.validation.constraints.DecimalMin;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author dongGe_zzz
 * @date 2025-02-19 18:02
 */
@Data
public class FinancingBo implements Serializable {

    /**
     * 理财金额
     */
    @NotNull(message = "amount can not be empty")
    @DecimalMin(value = "1", message = "amount must be greater than 1")
    private BigDecimal amount;
}
